You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > Matrix Structure > Matrix Methods > Matrix.MtxSqrt Method
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Matrix.MtxSqrt Method

Calculates the square root of the matrix.

Syntax
C#
Visual Basic
public TMtx MtxSqrt([In] TMtx Src, TMtxType SourceType);

Calculates the square root of the Src matrix and stores the results to calling matrix. The product of the result with itself will give the original matrix. Because the MtxFunction method is based on the eigenvalue decomposition and the eigenvalue, the SourceType for symmetric and symmetric positive definite matrices has to be defined explicitly. 

Note The algorithm for general matrices will fail on a symmetric matrix.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!